﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebNetCorePhoneErp.Model
{
	/// <summary>
    /// 人员列表
    /// </summary>
	[Serializable]
	public partial class Employee : BaseEntity
	{
		/// <summary>
		/// 主键
		/// </summary>
		[Key]
		public string Employee_id { get; set; }
		
		/// <summary>
        /// 姓名
        /// </summary>
		public string User_real_name { get; set; }
		
		/// <summary>
        /// 员工编号
        /// </summary>
		public string Employee_no { get; set; }
		
		/// <summary>
        /// 性别
        /// </summary>
		public byte? Sex { get; set; }
		
		/// <summary>
        /// 出生日期
        /// </summary>
		public DateTime? Borndate { get; set; }
		
		/// <summary>
        /// 民族
        /// </summary>
		public string Minzu { get; set; }
		
		/// <summary>
        /// 籍贯
        /// </summary>
		public string Native_place { get; set; }
		
		/// <summary>
        /// 手机号
        /// </summary>
		public string Phone { get; set; }
		
		/// <summary>
        /// 身份证编号
        /// </summary>
		public string Id_card_no { get; set; }
		
		/// <summary>
        /// 员工头像图片url
        /// </summary>
		public string Employee_photo_url { get; set; }
		
		/// <summary>
        /// 住址
        /// </summary>
		public string Address { get; set; }
		
		/// <summary>
        /// 职位
        /// </summary>
		public string Position { get; set; }
		
		/// <summary>
        /// 入职时间
        /// </summary>
		public DateTime? Entry_time { get; set; }
		
		/// <summary>
        /// 离职时间
        /// </summary>
		public DateTime? Leave_time { get; set; }
		
		/// <summary>
        /// 邮箱
        /// </summary>
		public string Email { get; set; }
		
		/// <summary>
        /// 紧急联系人姓名
        /// </summary>
		public string Emergency_contact_name { get; set; }
		
		/// <summary>
        /// 紧急联系人手机号
        /// </summary>
		public string Emergency_contact_phone { get; set; }
		
		/// <summary>
        /// 创建时间
        /// </summary>
		public DateTime Createtime { get; set; }
		
		/// <summary>
        /// 登录用户名
        /// </summary>
		public string User_name { get; set; }
		
		/// <summary>
        /// 登录密码
        /// </summary>
		public string Password { get; set; }
		
		/// <summary>
        /// 密码加盐
        /// </summary>
		public string Password_salt { get; set; }
		
		/// <summary>
        /// 备注
        /// </summary>
		public string Reamrk { get; set; }
		
		/// <summary>
        /// 是否禁用,1=启用，0=禁用
        /// </summary>
		public byte? Employee_state { get; set; }
		
				
	}
}